package common;

import java.util.List;
import java.util.concurrent.Callable;

import domain.PostBean;

public class GranshTask implements Callable<List<PostBean>> {

	private String url;
	private String fid;

	public GranshTask(String url, String fid) {
		this.url = url;
		this.fid = fid;
	}

	@Override
	public List<PostBean> call() throws Exception {

		return Grash.crashHtml(url, fid);
	}

}
